Skip to main content

Multiple Login Options

This authenticator assists with the login of users through email, phone and password and the same can be validated in one of the following methods. such as Email, OTP, Email Magic Link, Phone OTP, and Password.

Here are the steps for executing Multiple Login Options

Prerequisite

Make sure to add additional authenticators such as Email Validation or Phone Validation before adding the multiple login options authenticator.

1 Go to Dashboard > Authentication > Login, and click on the flow created for Multiple Login Options.

info

To know how to create an authentication flow step-by-step, see here.

Login

2 Drag and drop the Multiple Login Options authenticator.

Multiple Login Options

3 Give a click to the newly added authenticator in order to set up your preferences. The authenticator's Settings will be displayed.

Settings

Configuration

(*) Indicates that the action is mandatory.

AttributeDescription
*EnableThis toggle will be enabled by default.
Use Email OTPIt allows user to login using Email OTP.
Use Email Magic LinkLets the user to login via Magic Link sent to the provided email.
Use Phone OTPPermits user to login using Phone OTP.
Send OTP to Email and PhoneThis allows user to get OTP in email as well as phone to login.
Use PasswordAllows user to login using Password.
note

Each login type has its own specific configuration and differs from the others. Enable according to your preference.


Use Email OTP

This feature enables users to log in using the OTP sent to the provided email.

Email OTP

Configuration

AttributeDescription
Email Verification Expiry DurationConfigure the expiration time for OTP verification, with options for days (2d), hours (2h), minutes (2m), or seconds (2s).
Email Verification OTP LengthSet the length of the OTP, ranging from 4 to 8 characters. The default value is 6.
Email SenderThe default email provider will be pre-configured. If you wish to use a custom provider, please refer here.

This functionality allows the user to log in via a Magic Link sent to the provided email.

Magic Link

Configuration

AttributeDescription
Email Verification Expiry DurationConfigure the expiration time for OTP verification, with options for days (2d), hours (2h), minutes (2m), or seconds (2s).
Email SenderThe default email provider will be pre-configured. If you wish to use a custom provider, please refer here.

Use Phone OTP

This feature permits the user to log in using a OTP sent to the given phone number.

Phone OTP

Configuration

AttributeDescription
Phone Verification Expiry DurationConfigure the expiration time for OTP verification, with options for days (2d), hours (2h), minutes (2m), or seconds (2s).
Phone Verification OTP LengthSet the length of the OTP, ranging from 4 to 8 characters. The default value is 6.
Template of text to send to the userPhone message template, include {code} attribute in your text to map the generated OTP.
SMS SenderThe default sms provider will be pre-configured. If you wish to use a custom provider, please refer here.

Send OTP to Email and Phone

This feature allows the user to receive an OTP via both email and phone for the purpose of logging in.

Email and Phone

Configuration

AttributeDescription
Length of OTPSet the length of the OTP, ranging from 4 to 8 characters. The default value is 6.
Expiraty Duration of OTPConfigure the expiration time for OTP verification, with options for days (2d), hours (2h), minutes (2m), or seconds (2s).
SMS SenderThe default sms provider will be pre-configured. If you wish to use a custom provider, please refer here.
Email SenderThe default email provider will be pre-configured. If you wish to use a custom provider, please refer here.

4 Configure your preferred type, for instance, Use Email OTP is chosen here.

5 Click on SAVE.

Save

6 Moving forward, the subsequent step involves associating the multiple login options flow with the application for execution. If you're looking to understand how to attach an authenticator to an application, see here.

7 To know how to execute an authentication flow, see here.

Know more

Create Action

Application Details

Application Execution

Attach Login to Application